package com.feng.controller;

import com.feng.dto.LoginUser;
import com.feng.dto.Result;
import com.feng.pojo.User;
import com.feng.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/tag")
public class TagController {

    @Autowired
    TagService tagService;

    @GetMapping("/get")
    public Result getTag(){
        return tagService.getTag();
    }

}
